/*    */ package com.qmsk.business.store.transferbilldtl.dao;
/*    */ 
/*    */ import com.qmsk.business.sys.basic.SupportDAO;
/*    */ import com.utils.basic.MapUtils;
/*    */ import com.utils.gson.in.GsonHeadManyRows;
/*    */ import com.utils.gson.out.GsonEbRst;
/*    */ import java.sql.SQLException;
/*    */ import java.util.ArrayList;
/*    */ import java.util.HashMap;
/*    */ import java.util.List;
/*    */ import java.util.Map;
/*    */ 
/*    */ public class TransferDtlDAO extends SupportDAO
/*    */ {
/*    */   public GsonHeadManyRows getManyRowsOfId(Long id)
/*    */     throws SQLException
/*    */   {
/* 17 */     Map params = new HashMap();
/* 18 */     params.put("id", id);
/* 19 */     return getManyRowsOfParams("selectSqlOfAll", params);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfAll(Map<String, Object> params, Integer nPageIdx, Short nPageSize)
/*    */     throws SQLException
/*    */   {
/* 32 */     return getGsonOfParams("selectSqlOfAll", params, nPageIdx, nPageSize, 
/* 33 */       true);
/*    */   }
/*    */ 
/*    */   public int deleteByInId(String[] ids) throws SQLException {
/* 37 */     List list = new ArrayList();
/* 38 */     for (String id : ids) {
/* 39 */       list.add(new Object[] { id });
/*    */     }
/* 41 */     return deleteHeadData(new String[] { "id" }, list);
/*    */   }
/*    */ 
/*    */   public GsonEbRst getGsonOfId(Long id) throws SQLException {
/* 45 */     Map params = new HashMap();
/* 46 */     MapUtils.addToMap(params, "id", id);
/* 47 */     return getGsonOfParams("selectSqlOfAll", params, false);
/*    */   }
/*    */ 
/*    */   public GsonHeadManyRows getManyRowsDtlOfId(Long id) throws SQLException {
/* 51 */     Map params = new HashMap();
/* 52 */     params.put("id", id);
/* 53 */     return getManyRowsOfParams("selectSqlOfDtl", params);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\新建文件夹\WEB-INF\classes\
 * Qualified Name:     com.qmsk.business.store.transferbilldtl.dao.TransferDtlDAO
 * JD-Core Version:    0.5.3
 */